package com.cn.wanxi.util;

public class Tool {
    private Tool() {
    }

    /**
     * 替换掉中括号和空格
     *
     * @param value
     * @return
     */
    public static String replace(String value) {
//        String replace = value.replace("[", "");
//        String replace1 =  value.replace("[", "").replace("]", "");
//
        return value
                .replace("[", "")
                .replace("]", "")
                .replace(" ", "");

    }
}
